

#pragma once

#include "zDbTableContent.h"

class UcDbTable;
class UcDbTableTemplate : public UcDbTableContent
{
public:
    UCDB_DECLARE_MEMBERS(UcDbTableTemplate);

    UcDbTableTemplate(void);
    UcDbTableTemplate(const UcDbTable* pTable, UcDb::TableCopyOption nCopyOption);
    virtual ~UcDbTableTemplate(void);

    virtual Ucad::ErrorStatus capture       (const UcDbTable* pTable, UcDb::TableCopyOption nCopyOption);
    virtual Ucad::ErrorStatus createTable   (UcDbTable*& pTable, UcDb::TableCopyOption nCopyOption);

    virtual Ucad::ErrorStatus dwgInFields   (UcDbDwgFiler* pFiler);
    virtual Ucad::ErrorStatus dwgOutFields  (UcDbDwgFiler* pFiler) const;
    virtual Ucad::ErrorStatus dxfInFields   (UcDbDxfFiler* pFiler);
    virtual Ucad::ErrorStatus dxfOutFields  (UcDbDxfFiler* pFiler) const;
};
